package com.simin.mall.api;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 * Created by wsm on 2024/9/9.
 * <p>
 * 接口类
 */
public interface NetApi {

    /**********************************************账号相关******************************************************************/

    //APP端账号密码登录
    @GET("user-service/userLogin/accountLogin")
    Observable<ApiResponse> sendAccountLogin(@QueryMap Map<String, Object> map);

    //绑定基础信息
    @POST("user-service/userRegister/bingUserInfo")
    Observable<ApiResponse> sendBingUserInfo(@Body RequestBody body);

}
